﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLine.Common;

namespace ZoneLine.Models.XWStations
{
    /// <summary>
    /// 线外站数据结果基类
    /// </summary>
    public class XWStationResultBase : HStationResultBase
    {
        private string _componentScanCode;
        /// <summary>
        /// 合件批次码
        /// </summary>
        [DgColumnAttr("合件批次码")]
        public string ComponentScanCode
        {
            get { return _componentScanCode; }
            set => SetProperty(ref _componentScanCode, value);
        }

        #region 物料批次信息
        private string _upSupportBatchCode;
        /// <summary>
        /// 上支撑批次码 addr:150
        /// </summary>
        [DgColumnAttr("上支撑批次码")]
        public string UpSupportBatchCode
        {
            get { return _upSupportBatchCode; }
            set => SetProperty(ref _upSupportBatchCode, value);
        }

        private int _upSupportBatchCodeCut;
        /// <summary>
        /// 上支撑批次码数量 addr：310
        /// </summary>
        //[DgColumnAttr("上支撑批次码数量")]
        [Column(IsIgnore = true)]
        public int UpSupportBatchCodeCut
        {
            get { return _upSupportBatchCodeCut; }
            set => SetProperty(ref _upSupportBatchCodeCut, value);
        }


        private string _bumperBatchCode;
        /// <summary>
        /// 缓冲块批次码 addr:182
        /// </summary>
        [DgColumnAttr("缓冲块批次码")]
        public string BumperBatchCode
        {
            get { return _bumperBatchCode; }
            set => SetProperty(ref _bumperBatchCode, value);
        }

        private int _bumperBatchCodeCut;
        /// <summary>
        /// 缓冲块批次码数量 addr：312
        /// </summary>
        //[DgColumnAttr("缓冲块批次码数量")]
        [Column(IsIgnore = true)]
        public int BumperBatchCodeCut
        {
            get { return _bumperBatchCodeCut; }
            set => SetProperty(ref _bumperBatchCodeCut, value);
        }

        private string _bearingBatchCode;
        /// <summary>
        /// 轴承批次码 addr:214
        /// </summary>
        [DgColumnAttr("轴承批次码")]
        public string BearingBatchCode
        {
            get { return _bearingBatchCode; }
            set => SetProperty(ref _bearingBatchCode, value);
        }

        private int _bearingBatchCodeCut;
        /// <summary>
        /// 轴承批次码数量 addr：314
        /// </summary>
        //[DgColumnAttr("轴承批次码数量")]
        [Column(IsIgnore = true)]
        public int BearingBatchCodeCut
        {
            get { return _bearingBatchCodeCut; }
            set => SetProperty(ref _bearingBatchCodeCut, value);
        }

        private string _dustCoverBatchCode;
        /// <summary>
        /// 防尘罩批次码 addr:246
        /// </summary>
        [DgColumnAttr("防尘罩批次码")]
        public string DustCoverBatchCode
        {
            get { return _dustCoverBatchCode; }
            set => SetProperty(ref _dustCoverBatchCode, value);
        }

        private int _dustCoverBatchCodeCut;
        /// <summary>
        /// 防尘罩批次码数量 addr：316
        /// </summary>
        //[DgColumnAttr("防尘罩批次码数量")]
        [Column(IsIgnore = true)]
        public int DustCoverBatchCodeCut
        {
            get { return _dustCoverBatchCodeCut; }
            set => SetProperty(ref _dustCoverBatchCodeCut, value);
        }

        private string _springPadBatchCode;
        /// <summary>
        /// 弹簧上垫批次码 addr:278
        /// </summary>
        [DgColumnAttr("弹簧上垫批次码")]
        public string SpringPadBatchCode
        {
            get { return _springPadBatchCode; }
            set => SetProperty(ref _springPadBatchCode, value);
        }

        private int _springPadBatchCodeCut;
        /// <summary>
        /// 弹簧上垫批次码数量 addr：318
        /// </summary>
        //[DgColumnAttr("弹簧上垫批次码数量")]
        [Column(IsIgnore = true)]
        public int SpringPadBatchCodeCut
        {
            get { return _springPadBatchCodeCut; }
            set => SetProperty(ref _springPadBatchCodeCut, value);
        }
        #endregion
    }

}
